//
// MDRadialProgressView.h
// MDRadialProgress
//
//
// Copyright (c) 2013 Marco Dinacci. All rights reserved.

#import <UIKit/UIKit.h>


static NSString *keyTheme = @"theme";
static NSString *keyThickness = @"theme.thickness";
static NSString *keyFrame     = @"frame";
static NSString *keyLabelColor = @"theme.labelColor";
static NSString *keyDropLabelShadow = @"theme.dropLabelShadow";
static NSString *keyLabelShadowColor = @"theme.labelShadowColor";
static NSString *keyLabelShadowOffset = @"theme.labelShadowOffset";
static NSString *keyFont = @"theme.font";

@class MDRadialProgressTheme;
@class MDRadialProgressLabel;


@interface MDRadialProgressView : UIView

- (id)initWithFrame:(CGRect)frame andTheme:(MDRadialProgressTheme *)theme;

// 在发展观的步骤总数.
@property (assign, nonatomic) NSUInteger progressTotal;

// 目前完成的数量的步骤.
@property (assign, nonatomic) NSUInteger progressCounter;

// 是否进步是顺时针绘制的（YES）或逆时针（NO）
@property (assign, nonatomic) BOOL clockwise;

// 是否进步是不确定的模式或不
@property (assign, nonatomic) BOOL isIndeterminateProgress;

// 该部分在完成的第一步是指数.
@property (assign, nonatomic) NSUInteger startingSlice;

// 目前使用的主题
@property (strong, nonatomic) MDRadialProgressTheme *theme;

// 显示在视图的中心标签.
@property (strong, nonatomic) MDRadialProgressLabel *label;

// 块是用来更新标签文本时的发展变化.
@property (nonatomic, copy) NSString *(^labelTextBlock)(MDRadialProgressView *progressView);

@end
